package net.hn.hnms.biz.support.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.support.company.domain.dto.ChartDto;
import net.hn.hnms.biz.support.domain.RoofabscissionAlarmDayPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 顶板离层预警Mapper
 */
public interface RoofabscissionAlarmDayMapper extends BaseMapper<RoofabscissionAlarmDayPo> {
    /**
     * 顶板离层报警曲线
     * @param day
     * @return
     */
    List<ChartDto> abscissdataRiskStatistics(@Param("day") String day);

    /**
     * 功能描述: 查询预警数据库的顶板预警表(查询顶板预警一天内的预警次数)
     * @auther: WangLong
     * @date: 2023/1/3 15:45
     * @param
     * @return java.lang.Integer
     */
    Integer getRoofSeparationAnomaly();
}
